<?php
$dotenv = Dotenv\Dotenv::createImmutable(__DIR__);
$dotenv->load();
return [
    "paths"        => [
        "migrations" => "database/migrations",
        "seeds"      => "database/seeds"
    ],
    "environments" => [
        "default_migration_table" => "phinxlog",
        "default_database"        => "dev",
        "default_environment"     => "dev",
        "dev"                     => [
            "adapter"   => env('DB_DRIVER', 'mysql'),
            "host"      => env('DB_HOST', "127.0.0.1"),
            "name"      => env('DB_DATABASE', "webman-cms"),
            "user"      => env('DB_USERNAME', "root"),
            "pass"      => env('DB_PASSWORD', ""),
            "port"      => env('DB_PORT', "3306"),
            "charset"   => env('DB_CHARSET', "utf8mb4"),
            'collation' => env('DB_COLLATION', 'utf8mb4_general_ci')
        ]
    ]
];
